public class Light {
    public Light(String name){
        System.out.println("I am  " + name + " light");
    }
    public void on(){
        System.out.println("the light turn on");
    }

    public void off(){
        System.out.println("the light turn off");
    }


}
